package com.heima.model.behavior.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class LikeBehaviorDto {
    // 文章、动态、评论等ID
    @JsonProperty("articleId")
    private Long articleId;
    /**
     * 0 点赞   1 取消点赞
     */
    @JsonProperty("operation")

    private Integer operation;
    /**
     * 0文章
     * 1动态
     * 2评论
     */
    @JsonProperty("type")

    private Integer type;
}
